qcollect-traits 0.6.0

Traits for being generic over collection-types.
/*
//!
//! 
*/

// TODO rename key/query/idx to elt

//!
//!
//! Sequence Collections | slice | Vec | VecDeque | LinkedList | BitVec | BinaryHeap | SmallVec | ArrayVec 
//! ---------------------|:-----:|:---:|:--------:|:----------:|:------:|:----------:|:--------:|:--------:
//! OrderedCollection    |       |     |          |            |        | ⚫          |          |          
//!                      |       |     |          |            |        |            |          |          
//! Len                  | ⚫     | ⚫   | ⚫        | ⚫          | ⚫      | ⚫          | ⚫        | ⚫        
//! Capacity             |       | ⚫   | ⚫        |            | ?      | ⚫          | ⚫        | ⚫       
//! Reserve              |       | ⚫   | ⚫        |            | ?      | ⚫          | ⚫        |        
//! ShrinkToFit          |       | ⚫   | ⚫        |            | ⚫      | ⚫          | ?        |       
//! Clear                |       | ⚫   | ⚫        | ⚫          | ⚫      | ⚫          | ⚫        | ⚫    
//!                      |       |     |          |            |        |            |          |     
//! Contains             | ⚫     | ⚫   |          |            | ?      |            | ⚫        | ⚫  
//! Get                  | ⚫     | ⚫   |          |            | ⚫      |            | ⚫        | ⚫ 
//! GetMut               | ⚫     | ⚫   |          |            |        |            | ⚫        | ⚫        
//! Iterate              | ⚫     | ⚫   | ⚫        | ⚫          | ⚫      | ⚫          | ⚫        | ⚫       
//! IterateMut           | ⚫     | ⚫   | ⚫        | ⚫          |        | ⚫          | ⚫        | ⚫      
//!                      |       |     |          |            |        |            |          |       
//! Insert               |       | ⚫   | ?        | ?          | ?      | ⚫          | ⚫        | ⚫    
//! Insert2              |       | ⚫   | ?        | ?          | ?      | ⚫          | ⚫        | ⚫   
//! Remove               |       | ⚫   | ?        | ?          | ?      | ⚫          | ⚫        | ⚫  
//! PushFront            |       | ?   | ⚫        | ⚫          |        | ?          | ?        | ? 
//! PushBack             |       | ⚫   | ⚫        | ⚫          |        | ?          | ⚫        | ⚫      
//! PopFront             |       | ?   | ⚫        | ⚫          |        | ?          | ?        | ?     
//! PopBack              |       | ⚫   | ⚫        | ⚫          |        | ?          | ⚫        | ⚫    
//!
//! .
//!
//! Set Collections      | HashSet | BTreeSet | BitSet | FlatSet 
//! ---------------------|:-------:|:--------:|:------:|:-------:
//! OrderedCollection    |         | ⚫        | ⚫      | ⚫     
//!                      |         |          |        |        
//! Len                  | ⚫       | ⚫        | ⚫      | ⚫    
//! Capacity             | ⚫       |          | ?      | ⚪      
//! Reserve              | ⚫       |          | ?      | ⚪    
//! ShrinkToFit          | ⚫       |          | ?      | ⚪      
//! Clear                | ⚫       | ⚫        | ⚫      | ⚪      
//!                      |         |          |        |        
//! Contains             | ⚫       | ⚫        | ?      | ⚫      
//! Iterate              | ⚫       | ⚫        | ⚫      | ⚫      
//!                      |         |          |        |        
//! Insert               | ⚫       | ⚫        | ⚫      | ⚪      
//! Remove               | ⚫       | ⚫        | ⚫      | ⚪      
//!
//! .
//!
//! Map Collections      | HashMap | BTreeMap | VecMap | FlatMap 
//! ---------------------|:-------:|:--------:|:------:|:-------:
//! OrderedCollection    |         | ⚫        | ⚫      | ⚫ 
//!                      |         |          |        |   
//! Len                  |  ⚫      | ⚫        | ⚫      | ⚫  
//! Capacity             |  ⚫      |          | ⚫      | ⚪   
//! Reserve              |  ⚫      |          | ?      | ⚪    
//! ShrinkToFit          |  ⚫      |          | ⚫      | ⚪     
//! Clear                |  ⚫      | ⚫        | ⚫      | ⚪      
//!                      |         |          |        |         
//! Contains             |  ⚫      | ⚫        | ⚫      | ⚫    
//! Get                  |  ⚫      | ⚫        | ⚫      | ⚫     
//! GetMut               |  ⚫      | ⚫        | ⚫      | ⚪      
//! Iterate              |  ⚫      | ⚫        | ⚫      | ⚫       
//! IterateMut           |  ⚫      | ⚫        | ⚫      | ⚪       
//!                      |         |          |        |    
//! Insert               |  ⚫      | ⚫        | ⚫      | ⚪   
//! Insert2              |  ⚫      | ⚫        | ⚫      | ⚪    
//! Remove               |  ⚫      | ⚫        | ⚫      | ⚪     
//!

#![feature(collections, collections_bound, btree_range)]
#![feature(associated_type_defaults)]

extern crate vec_map;
//extern crate bit_vec;
//extern crate bit_set;

mod range;
mod traits;
mod impls_core;
mod impls_collections;
mod impls_vec_map;
//mod impls_bit_vec;
//mod impls_bit_set;

pub use range::*;
pub use traits::*;

pub mod prelude {
    pub use range::*;
    pub use traits::*;
}